layui.define(['jquery'], function(exports) {
	var $ = layui.jquery;
	
	var grid = function() {
		var that = this;
		that.name = "栅格布局";
		that.createNode = function() {
			var html =
				'    <div class="layui-col-md6 ays-ctrl-container">' +
				'    </div>' +
				'    <div class="layui-col-md6 ays-ctrl-container">' +
				'    </div>';
			var ctrlDiv = document.createElement("div");
			ctrlDiv.className = "layui-row ays-ctrl";
			ctrlDiv.innerHTML = html;
			return ctrlDiv;
		}
	}

	exports('grid', {
		create: function() {
			return new grid()
		}
	});
});
